<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="PageService" output="false" extends="_PageService">
	
    <cfset variables.objectInstance = structNew() />
	

	<cffunction name="init" access="public" output="false" returntype="PageService">
		<cfargument name="PageDAO" type="PageDAO" required="true" />
		<cfargument name="PageGateway" type="PageGateway" required="true" />

		<cfset super.init(arguments.PageDAO, arguments.PageGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="PageGateway">
    	<cfreturn variables.PageGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="PageDAO">
    	<cfreturn variables.PageDAO />
    </cffunction>
</cfcomponent>


